#include"Khaibao.h"
void Polygon::setValues(int a, int b){
	width = a;
	height = b;
}
int Rectangle::area(){
	return(width*height);
}
int Triangle::area(){
	return(width*height / 2);
}